0 REM &INPUT DEMO<CTRL-J><CTRL-J><CTRL-J>Nov 30 86 jpe
10 REM
100 TEXT : HOME : SPEED= 255: CLEAR :D$ = CHR$(4)
105 PRINT D$;"pr#3": PRINT CHR$(7): NORMAL
110 PRINT : PRINT D$;"brun/blank3/tools/in.out"
120 INVERSE : PRINT "Now loading command handler for &INPUT statement.": NORMAL
130 PRINT : PRINT "To demonstrate the use of the &INPUT statement in Applesoft BASIC programs, enter any string. The string may contain commas and such not normaly exceptable to Applesoft."
140 PRINT : PRINT "Enter your string here:";
145 & INPUT A$
150 PRINT : PRINT : PRINT A$: PRINT
160 PRINT : PRINT "Notice that the word wraparound is functional as well as the delete function. Commas are accepted. There is an insert cursor. Etc...etc"
170 REM End Pg# 1)<CTRL-J>
200 REM Pg# 2)<CTRL-J><CTRL-J>
210 REM june 30 87 addendum* <CTRL-J>
220 PRINT : PRINT : PRINT "Now try some things that would normally stump applesoft input statements."
230 PRINT "This would, definetly, cause some problems!"
240 PRINT : PRINT "Enter your string here:";
245 & INPUT A$
250 PRINT : PRINT : PRINT "Your string as accepted by our new &input Statement??": PRINT
255 PRINT : PRINT A$
260 PRINT : PRINT "Now try something really neat. Type something in, ANYTHING, now press the DELE-TE key. Wow! Now try to insert something!": PRINT
270 PRINT : PRINT "Enter your string here:";
280 & INPUT A$
290 PRINT : PRINT : PRINT "Your string as accepted by our new &input Statement??": PRINT
295 PRINT : PRINT A$
300 REM Pg# 3)<CTRL-J>
310 PRINT : PRINT "Now type in the last string over again, this time I'll Demonstrate The OLD Apple-Soft INPUT statement."
320 PRINT : PRINT "Enter your string here:";: INPUT O$
340 PRINT : PRINT : PRINT "Your string as accepted (IGNORED) by the standard INPUT Statement?": PRINT : PRINT : PRINT O$
360 PRINT : PRINT "That concludes this short DEMO. You are on your own!": PRINT "This Program will continue to loop until this string is entered: ": PRINT
370 PRINT "I will BRUN IN.OUT, Whenever I Boot Applesoft! "
380 PRINT : PRINT "Enter your string here:";
390 & INPUT A$
395 IF LEFT$(A$,8) = "I will B" THEN 430
400 PRINT : PRINT : PRINT "Your string as accepted by our new &input Statement??": PRINT